package com.rj2002.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author 
 */
public class Orders implements Serializable {
    private Integer id;

    /**
     * 关联的用户id
     */
    private Integer userid;

    /**
     * 折扣
     */
    private Float zhekou;

    /**
     * 总价
     */
    private Float money;

    /**
     * 收货地址关联的id
     */
    private String dizhiid;

    private Date createtime;

    private Date updatetime;
    
    private String account;
    
    private String detail;
    
    private List<Orderdetail> orderdetails;

    private static final long serialVersionUID = 1L;
    
    public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public List<Orderdetail> getOrderdetails() {
		return orderdetails;
	}

	public void setOrderdetails(List<Orderdetail> orderdetails) {
		this.orderdetails = orderdetails;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Float getZhekou() {
        return zhekou;
    }

    public void setZhekou(Float zhekou) {
        this.zhekou = zhekou;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public String getDizhiid() {
        return dizhiid;
    }

    public void setDizhiid(String dizhiid) {
        this.dizhiid = dizhiid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

	@Override
	public String toString() {
		return "Orders [id=" + id + ", userid=" + userid + ", zhekou=" + zhekou + ", money=" + money + ", dizhiid="
				+ dizhiid + ", createtime=" + createtime + ", updatetime=" + updatetime + ", account=" + account
				+ ", detail=" + detail + ", orderdetails=" + orderdetails + "]";
	}
    
    
}